package com.sdhs.paas.authserver.service;


import com.sdhs.paas.authserver.entity.UserInfo;
import com.sdhs.paas.authserver.util.user.JwtAuthenticationRequest;
import com.sdhs.paas.authshare.util.jwt.IJWTInfo;

public interface AuthService {
    String login(JwtAuthenticationRequest authenticationRequest) throws Exception;
    String refresh(String oldToken) throws Exception;
    IJWTInfo validate(String token) throws Exception;
    public UserInfo getUserInfo(String token) throws Exception;
}
